<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>快乐运动</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="../../bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="../../bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="../../bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">
  <!-- Morris chart -->
  <link rel="stylesheet" href="../../bower_components/morris.js/morris.css">
  <!-- jvectormap -->
  <link rel="stylesheet" href="../../bower_components/jvectormap/jquery-jvectormap.css">
  <!-- Date Picker -->
  <link rel="stylesheet" href="../../bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="../../bower_components/bootstrap-daterangepicker/daterangepicker.css">
  <!-- bootstrap wysihtml5 - text editor -->
  <link rel="stylesheet" href="../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

  <!-- Google Font -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  <script src="../../js/axios.min.js"></script>
  <script src="../../js/vue.js"></script>
  <script src="../../js/orderSchedule.js"></script>

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header class="main-header">
    <!-- Logo -->
    <a href="../../index.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><b>快乐运动</b></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><b>快乐运动</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">公告</li>
              <li>
                <!-- inner menu: contains the actual data -->
                <ul class="menu">
                  <li><!-- start message -->
                    <a href="#">
                      <div class="pull-left">
                        <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                        【线上培训】
                        <small><i class="fa fa-clock-o"></i> 12月6号</small>
                      </h4>
                      <p>玩转工作室 so easy</p>
                    </a>
                  </li>
                  <!-- end message -->
                  <li>
                    <a href="#">
                      <div class="pull-left">
                        <img src="../../dist/img/user3-128x128.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                        【线上培训】
                        <small><i class="fa fa-clock-o"></i> 12月5号</small>
                      </h4>
                      <p>开始啦。。。</p>
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <div class="pull-left">
                        <img src="../../dist/img/user4-128x128.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                        年终大促销
                        <small><i class="fa fa-clock-o"></i> 12月6号</small>
                      </h4>
                      <p>惊喜连连。。。</p>
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <div class="pull-left">
                        <img src="../../dist/img/user3-128x128.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                        【重要提醒】
                        <small><i class="fa fa-clock-o"></i> 12月5号</small>
                      </h4>
                      <p>动感单车开课了</p>
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <div class="pull-left">
                        <img src="../../dist/img/user4-128x128.jpg" class="img-circle" alt="User Image">
                      </div>
                      <h4>
                        【重要提示】
                        <small><i class="fa fa-clock-o"></i> 12月5号</small>
                      </h4>
                      <p>我们是最好的</p>
                    </a>
                  </li>
                </ul>
              </li>
              <li class="footer"><a href="../../pages/notice/list.html">查看全部</a></li>
            </ul>
          </li>

          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs">wt运动</span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                <p>
                  快乐运动
                  <small>13800138000</small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <!--
                    <div class="col-xs-4 text-center">
                      <a href="editbrand.html">品牌设置</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="editpassword.html">修改密码</a>
                    </div>
                  -->
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">

                <div class="pull-right">
                  <a href="../../login.html" class="btn btn-default btn-flat">退 出</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header"><b>主 菜 单</b></li>
        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-gift"></i> <span>数据魔方</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/member/member.html"><i class="fa fa-circle-o"></i> 会员概况</a></li>
          </ul>
        </li>
        <li class="treeview active">
          <a href="#">
            <i class="glyphicon glyphicon-ok"></i>
            <span>预约签到</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li class="active"><a href="../../pages/ordersign/order.html"><i class="fa fa-circle-o"></i> 预约管理</a></li>
            <li><a href="../../pages/ordersign/sign.html"><i class="fa fa-circle-o"></i> 签到管理</a></li>
            <li><a href="../../pages/ordersign/entrance.html"><i class="fa fa-circle-o"></i> 智能入场</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-king"></i>
            <span>会员管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/member/allmember.html"><i class="fa fa-circle-o"></i> 全部会员</a></li>
            <li><a href="../../pages/member/membercardbind.html"><i class="fa fa-circle-o"></i> 会员邦卡</a></li>
            <li><a href="../../pages/member/setcard.html"><i class="fa fa-circle-o"></i> 设置会员卡</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-book"></i>
            <span>课程管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/course/group.html"><i class="fa fa-circle-o"></i> 团课管理</a></li>
            <li><a href="../course/private.html"><i class="fa fa-circle-o"></i> 私教管理</a></li>
            <li><a href="../../pages/course/evaluation.html"><i class="fa fa-circle-o"></i> 评价管理</a></li>

          </ul>
        </li>

        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-th"></i> <span>统计报表</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/tables/income.html"><i class="fa fa-circle-o"></i> 营收报表</a></li>
            <li><a href="../../pages/tables/course.html"><i class="fa fa-circle-o"></i> 课程报表</a></li>
            <li><a href="../../pages/tables/card.html"><i class="fa fa-circle-o"></i> 会员卡报表</a></li>
            <li><a href="../../pages/tables/emp.html"><i class="fa fa-circle-o"></i> 员工报表</a></li>
            <li><a href="../../pages/tables/salary.html"><i class="fa fa-circle-o"></i> 薪资报表</a></li>

          </ul>
        </li>
        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-user"></i> <span>员工设置</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/employee/coach.html"><i class="fa fa-circle-o"></i> 工作人员</a></li>
            <li><a href="../../pages/employee/course.html"><i class="fa fa-circle-o"></i> 教练</a></li>
            <li><a href="../../pages/employee/card.html"><i class="fa fa-circle-o"></i> 员工请假</a></li>
            <li><a href="../../pages/employee/emp.html"><i class="fa fa-circle-o"></i> 薪资设置</a></li>

          </ul>
        </li>
        <li class="treeview">
          <a href="#">
            <i class="glyphicon glyphicon-leaf"></i> <span>场馆设置</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="../../pages/venue/edit.html"><i class="fa fa-circle-o"></i> 场馆编辑</a></li>
            <li><a href="../../pages/venue/photo.html"><i class="fa fa-circle-o"></i> 场馆相册</a></li>

          </ul>
        </li>

        <li>
          <a href="../../pages/service/service.html">
            <i class="glyphicon glyphicon-asterisk"></i> <span>系统设置</span>
            <span class="pull-right-container">
              <small class="label pull-right bg-green">sys</small>
            </span>
          </a>
        </li>

      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        添加预约
        <small>预约签到 / 预约管理 / 添加预约</small>
      </h1>

    </section>

    <!-- Main content -->
    <section class="content">
      <!-- Main row -->
      <div class="row">
        <!-- Left col -->
        <section class="col-lg-12 connectedSortable">
          <!-- quick email widget -->
          <div class="box box-info" id="box-info">
            <div class="box-header">
              <i class="fa fa-user"></i>

              <h3 class="box-title">添加预约</h3>
              <!-- Main content -->
              <section class="content">
                <!-- Small boxes (Stat box) -->

                <!--row-->
                <div class="row">
                  <!-- form start -->
                  <form  class="form-horizontal" id="form">
                    <div class="box-body">
                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">会员卡号</label>

                        <div class="col-sm-8">
                          <input type="text" class="form-control" id="inputCourseName" placeholder="请输入会员卡号" name="member_name" v-model="memberCard" @blur="changeMemberCard($event)">
                        </div>

                      </div>
                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">性别</label>

                        <div class="col-sm-4">
                          <label v-for="(item,index) in list" >
                            <input type="radio" name="sex" id="inputCourseName" :value="item.value" v-model="checkedValue">
                            <span v-text="item.value"></span>
                          </label>

                        </div>
                        <div class="col-sm-4">
                          <!--                              <input type="radio" name="sex" id="inputCourseName" >-->
                        </div>
                      </div>
                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">手机</label>

                        <div class="col-sm-8">
                          <input type="text" class="form-control" id="inputCourseName" placeholder="请输入预约人手机号" name="b_tel" v-model="tel">
                        </div>
                      </div>
                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">销售</label>

                        <div class="col-sm-8">
                          <select class="form-control" style="width: 100%;" v-model="sellActive" @click="changeSell($event)">
                            <option selected="selected" value="">全部销售</option>
                            <option v-for="(list,index) in sellList" :key="index" :label="list.staffName" :value="list.staffName" v-text="list.staffName"></option>
                            <!--<option value="">郭德纲</option>
                            <option value="">于谦</option>
                            <option value="">岳云鹏</option>
                            <option value="">孙越</option>
                            <option value="">侯震</option>-->
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">课程</label>

                        <div class="col-sm-8">
                          <select class="form-control" style="width: 100%;" v-model="courseActive" v-on:change="querySchedule">
                            <option selected="selected" value="" >全部课程</option>
                            <option v-for="(list,index) in courseList" :key="index" :label="list.coName" :value="list.coName" v-text="list.coName">
                          </select>
                        </div>
                      </div>

                      <div class="row">
                        <arrange-order v-bind:messages="messages"></arrange-order>
                      </div>

                      <!--<div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">状态</label>

                        <div class="col-sm-8">
                          <select class="form-control" style="width: 100%;"  v-model="flagActive" @click="changeFlag($event)">
                            <option selected="selected" value="">全部状态</option>
                            <option v-for="(list,index) in flagList" :key="index" :label="list.name" :value="list.id" v-text="list.name"></option>
                            &lt;!&ndash;<option value="">已签到</option>
                            <option value="">未签到</option>&ndash;&gt;
                          </select>
                        </div>
                      </div>-->
                      <div class="form-group">
                        <label for="inputCourseName" class="col-sm-2 control-label">备注</label>

                        <div class="col-sm-8">
							<textarea id="inputcomment" class="form-control" rows="3" placeholder="请输入备注信息,限50个字"
                                      name="b_remark" v-model="remark"></textarea>
                        </div>
                      </div>

                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer">
                      <button type="button" class="btn btn-default">取消</button>
                      <button type="button" class="btn btn-info" @click="addBooking">确定</button>
                    </div>
                    <!-- /.box-footer -->
                  </form>
                </div>
                <!-- /.row (row) -->

              </section>
              <!-- /.content -->
            </div>



          </div>

          <script type="application/javascript">
            let vue=new Vue({
              el:"#box-info",
              data:{
                memberCard:"",
                checkedValue:'男',
                list:[{value:"男"},{value:"女"}],
                tel:"",
                regionList:[],
                regionActive:"",
                sellList:[],
                sellActive:"",
                staffList:[],
                staffActive:"",
                courseList:[],
                courseActive:"",
                bookingTime:"",
                schoolTime:"",
                flagList:[{name:"已签到",id:"1"},{name:"未签到",id:"0"}],
                flagActive:"",
                remark:"",
                messages:[
                  {
                    "course":{
                      coId:null,
                      coName:null,
                      coType:null,
                      coMaxstu:null,
                      coPrice:null,
                      coOncetime:null,
                      coImage:null,
                      coDescribe:null,
                      coBeizhu:null
                    },
                    "teacher":
                            {
                              staffId:null,
                              staffName:null,
                              staffGender:null,
                              staffTel:null,
                              staffJob:null,
                              staffPower:null,
                              stadium:null,
                              isLogin:null,
                              staffState:null
                            },
                    "time":{
                      tiId:null,
                      tiTime:null
                    },
                    "date":null,
                    "location": {
                      tregionId:null,
                      tregionName:null,
                      tregionPhone:null,
                      tregionAddress:null,
                      tregionNo:null,
                      tregionEmail:null,
                      tregionRemark:null,
                      tregionImage:null,
                      tregionFlag:null
                    },
                    "space": {
                      crId:null,
                      crName:null,
                      crAddress:null,
                      crFlag:null,
                      reId:null,
                      crRemark:null
                    },
                    "arrangeId":null
                  }
                ],
              },

              created(){
                axios.post('/booking/findAllCourse.do') .then(function (result) {
                  console.log("查询全部课程请求成功");
                  console.log(result);
                  vue.courseList=result.data;
                  this.courseActive=event.target.value;
                  console.log("你选中了："+this.courseActive);
                }).catch(function (error) {
                  console.log(error);
                  console.log("课程请求失败了");
                })
              },

              methods:{
                changeMemberCard:function (event) {
                  this.memberCard=event.target.value;
                  console.log("会员号："+this.memberCard);
                },
                changeTel:function (event) {
                  this.tel=event.target.value;
                  console.log("预约电话："+this.tel);
                },
                changeRegion:function (event) {
                  axios.post('/booking/findAllRegion.do').then(function(result){
                    console.log("查询全部场馆请求成功");
                    console.log(result);
                    vue.regionList=result.data;
                    this.regionActive=event.target.value;
                    console.log("你选中了："+this.regionActive);
                  }).catch(function(error){
                    console.log(error);
                    console.log("场馆请求失败了");
                  });
                },
                changeSell:function(event){
                  axios.post('/booking/findAllSell.do').then(function (result) {
                    console.log("查询全部销售请求成功");
                    console.log(result);
                    vue.sellList=result.data;
                    this.sellActive=event.target.value;
                    console.log("你选中了："+this.sellActive);
                  }).catch(function (error) {
                    console.log(error);
                    console.log("销售请求失败了");
                  });
                },
                changeStaff:function(event){
                  axios.post('/booking/findAllStaff.do').then(function (result) {
                    console.log("查询全部教练请求成功");
                    console.log(result);
                    vue.staffList=result.data;
                    this.staffActive=event.target.value;
                    console.log("你选中了："+this.staffActive);
                  }).catch(function (error) {
                    console.log(error);
                    console.log("教练请求失败了");
                  })

                },
                querySchedule:function (event) {
                  console.log("开始查询课表");
                  let data = new FormData();
                  data.append("co_name",vue.courseActive);
                  console.log("查询的课程名称为："+vue.courseActive)
                  axios.post('/getOrderCourseInfo',data) .then(function (result) {
                    console.log(result);
                    vue.messages = result.data;
                  }).catch(function (error) {
                    console.log(error);
                    console.log("课表请求失败了");
                  })
                },
                bookingTimeBtn:function (event) {
                  this.bookingTime=event.target.value;
                  console.log("预约时间："+this.bookingTime);
                },
                schoolTimeBtn:function (event) {
                  this.schoolTime=event.target.value;
                  console.log("签到时间："+this.schoolTime);
                },
                changeFlag:function (event) {
                  this.flagActive=event.target.value;
                  console.log("你选中了："+this.flagActive);
                },
                changeRemark:function (event) {
                  this.remark=event.target.value;
                  console.log("备注："+this.remark);
                },
                addBooking:function () {
                  let formData = new FormData();
                  formData.append("memberCard", vue.memberCard);
                  formData.append("bGender", vue.checkedValue);
                  formData.append("bTel",vue.tel);
                  formData.append("sellName", vue.sellActive);
                  formData.append("bcourseName", vue.courseActive);
                  formData.append("arrangeId",form.cr_id.value);
                  formData.append("bFlag",vue.flagActive);
                  formData.append("bRemark",vue.remark);
                  axios.post('/booking/addBooking.do',formData).then(function (result) {
                    console.log(result);
                    console.log("添加请求成功！");
                    let re=result.data;
                    if (re){
                      alert("添加成功");
                      window.location.href="/view/pages/ordersign/addorder.html";
                    }else {
                      alert("添加失败");
                    }
                  }).catch(function (error) {
                    console.log(error);
                    console.log("会员号:"+vue.memberCard);
                    console.log("性别:"+vue.checkedValue);
                    console.log("预约电话:"+vue.tel);
                    console.log("场馆:"+vue.regionActive);
                    console.log("销售:"+vue.sellActive);
                    console.log("教练:"+vue.staffActive);
                    console.log("教练:"+vue.courseActive);
                    console.log("预约时间:"+vue.bookingTime);
                    console.log("上课时间:"+vue.schoolTime);
                    console.log("状态："+vue.flagActive);
                    console.log("备注:"+vue.remark);
                    console.log("添加请求失败");
                  });
                },
              }
            });
          </script>
        </section>
        <!-- /.Left col -->

      </div>
      <!-- /.row (Second row) -->

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 1.0.0
    </div>
    <strong>Copyright &copy; 2017-2018 <a href="http://www.tedu.cn">XX科技</a>.</strong> All rights
    reserved.
  </footer>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">

    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab">全部</a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab">预约</a></li>
      <li><a href="#control-sidebar-pay-tab" data-toggle="tab">付费</a></li>
      <li><a href="#control-sidebar-system-tab" data-toggle="tab">系统</a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
      <!-- Home tab content -->
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">最新通知</h3>
        <ul class="control-sidebar-menu">

          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您当前短信已用完，系统将不再发送短信。如需启用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您的账户将于2017-12-12 23:59:59到期，为了不影响您使用，请立即点此充值</p>
              </div>
            </a>
          </li>

          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您当前短信已用完，系统将不再发送短信。如需启用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您的账户将于2017-12-12 23:59:59到期，为了不影响您使用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>万事具备，只差会员，请您开始添加会员吧！</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>课程添加好了，放到课程表内，会员才可以约课哦：团课排期，私教排期</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>该开始添加课程了：添加团课课程，添加私教课程</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>现在，设置一下我们的专属会员卡吧：添加会员卡类别</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>好了，现在可以添加我们的员工和教练了：添加员工</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
      <!-- Stats tab content -->
      <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        预约暂无内容
      </div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-pay-tab">
        付费暂无内容
      </div>
      <!-- /.tab-pane -->
      <!-- Home tab content -->
      <div class="tab-pane" id="control-sidebar-system-tab">
        <h3 class="control-sidebar-heading">最新通知</h3>
        <ul class="control-sidebar-menu">

          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您当前短信已用完，系统将不再发送短信。如需启用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您的账户将于2017-12-12 23:59:59到期，为了不影响您使用，请立即点此充值</p>
              </div>
            </a>
          </li>

          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您当前短信已用完，系统将不再发送短信。如需启用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>您的账户将于2017-12-12 23:59:59到期，为了不影响您使用，请立即点此充值</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>万事具备，只差会员，请您开始添加会员吧！</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>课程添加好了，放到课程表内，会员才可以约课哦：团课排期，私教排期</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>该开始添加课程了：添加团课课程，添加私教课程</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>现在，设置一下我们的专属会员卡吧：添加会员卡类别</p>
              </div>
            </a>
          </li>
          <li>
            <a href="#">
              <i class="menu-icon fa fa-bullhorn bg-yellow"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">
                  系统通知
                  <small class="pull-right"><i class="fa fa-clock-o"></i> 12-6 10:10</small>
                </h4>

                <p>好了，现在可以添加我们的员工和教练了：添加员工</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
  <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- jQuery 3 -->
<script src="../../bower_components/jquery/dist/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="../../bower_components/jquery-ui/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.7 -->
<script src="../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Select2 -->
<script src="../../bower_components/select2/dist/js/select2.full.min.js"></script>
<!-- Morris.js charts -->
<script src="../../bower_components/raphael/raphael.min.js"></script>
<script src="../../bower_components/morris.js/morris.min.js"></script>
<!-- Sparkline -->
<script src="../../bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="../../plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="../../bower_components/jquery-knob/dist/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="../../bower_components/moment/min/moment.min.js"></script>
<script src="../../bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="../../bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- DataTables -->
<script src="../../bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="../../bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<!-- Slimscroll -->
<script src="../../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="../../bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="../../dist/js/adminlte.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="../../dist/js/pages/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<!--<script src="dist/js/demo.js"></script>-->
<script>
  $(function () {
    //Initialize Select2 Elements
    $('.select2').select2()

    //Date picker
    $('#datepicker').datepicker({
      autoclose: true
    })
    //Date picker
    $('#datepicker1').datepicker({
      autoclose: true
    })




  })
</script>
</body>
</html>
